/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.cliente;

import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Anderson
 */
public class Servidor {

    private int id;
    private static List<Hotel> hoteis = new ArrayList<Hotel>();
    private static List<Hospede> hospedes = new ArrayList<Hospede>();
    private static List<Reserva> reservas = new ArrayList<Reserva>();

    public Servidor() throws RemoteException {
    }
    
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public static List<Hospede> getHospedes() {
        return hospedes;
    }

    public static void setHospedes(List<Hospede> hospedes) {
        Servidor.hospedes = hospedes;
    }

    public static List<Hotel> getHoteis() {
        return hoteis;
    }

    public static void setHoteis(List<Hotel> hoteis) {
        Servidor.hoteis = hoteis;
    }

    public static List<Reserva> getReservas() {
        return reservas;
    }

    public static void setReservas(List<Reserva> reservas) {
        Servidor.reservas = reservas;
    }
}
